import axios from '#utils/fetch'

export function getList() {
  return axios.get(`/api/write/get`)
}

export function findArticle(id) {
  return axios.post('/api/write/detail', { id })
}
